home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / cislib_b / newcon.doc < prev    next >
Text File  |  1995-04-22  |  8KB  |  152 lines

  1. Newsroom Converter 
  2. ANTIC, DEC 1988           Pg. 40  
  3.  
  4. By John French 
  5. (With a listing in BASIC, NEWSCON.BAS) 
  6.      BY JOHN FRENCH
  7.      (synopsis)
  8.      Newsroom Converter is an easy-to-operate program that converts any Print
  9. Shop icon or Atari Graphics 8 picture into Newsroom format.  It also converts
  10. Newsroom photos into Graphics 8 picture files that can be used with many popular
  11. Atari art programs.  The BASIC program works on all Atari computers with at
  12. least 48K memory and disk.
  13.  
  14.      I purchased the Newsroom page design program from Springboard Software
  15. after reading about it in the July 1988 ANTIC.  The ANTIC review said Newsroom
  16. couldn't use icons from Broderbund's popular Print Shop software or from any
  17. other third-party graphics formats.  Well, here's the cure to that problem. 
  18. Newsroom Converter is a program that will convert any Print Shop icon or Atari
  19. Graphics 8 file into Newsroom format.  Not only that, Newsroom Converter also
  20. transfers any Newsroom image into Graphics 8 format
  21.  
  22.      This new access enables you to use Rapid Graphics Converter (ANTIC,
  23. November 1985) to switch other types of Atari picture files to Graphics 8 format
  24. for loading into Newsroom Converter.  Or after you convert a Newsroom image into
  25. Graphics 8, you can change it into a Micro Illustrator file with Rapid Graphics
  26. Converter and then transfer it to Print Shop format with Graphic Shop ($19.95,
  27. The Catalogm AP156).
  28.  
  29.      GETTING STARTED
  30.  
  31.      When you RUN Newsroom Converter, you'll see a menu screen giving you a
  32. choice of converting either a Graphics 8 or Print Shop file into Newsroom
  33. format, or converting a Newsroom image into a Graphics 8 picture file.  The
  34. option for quitting returns you to BASIC.
  35.  
  36.      NOTE:  Newsroom automatically assigns a two-letter prefix to each type of
  37. file saved -- BN, banner;  PH, photo, PN, panel;  PG, page.  This system leaves
  38. room for six-letter filenames and doesn't recognize extenders.
  39.      If you'd like to convert other types of Atari picture files into Graphics 8
  40. format for use with Newsroom Converter, this can be done with Rapid Graphics
  41. Converter (ANTIC, November 1985).  For best results, convert these other types
  42. of picture files into "Graphics Master" format.
  43.  
  44.      GRAPHICS 8 CONVERSION
  45.  
  46.      Insert a disk containing a Graphics 8 file and choose option 1.  This
  47. brings up a directory of the disk and prompts you to enter the name of the
  48. Graphics 8 file to load.  The default device is D1:  (disk drive 1) so just type
  49. in the filename and the extender.  If the file you want is on another disk,
  50. press [RETURN] and you will go back to the menu.  You can then insert another
  51. disk and select option 1 again.
  52.  
  53.      After the picture is loaded, frame the part of it you want to convert by
  54. using the left and right arrow keys.  The part of the picture under the framing
  55. lines is included. After framing the picture and pressing [RETURN], you will be
  56. asked for a name for the Newsroom file. 
  57.  Enter the name you want without a
  58. device or extender because "D1:PH" is automatically included.  Newsroom
  59. Converter will then save the file on a standard DOS disk in Newsroom format.
  60.  
  61.      PRINT SHOP CONVERSION
  62.  
  63.      Choose option 2, then insert a Print Shop graphics disk and press [RETURN].
  64. NOTE:  To load an icon supplied on the Print Shop disk, first load it into the
  65. Print Shop Graphics Editor and save it on a disk formatted with Print Shop.  A
  66. directory of the Print Shop disk with each entry numbered will be shown on the
  67. screen.  You can use [CONTROL] [1] to stop the screen from scrolling.  Now enter
  68. the number of the Print Shop icon you want to load.  Entering 0 returns you to
  69. the menu.
  70.  
  71.      Storing the file in Newsroom format is the same as it is with the Graphics
  72. 8 files, except you don't need to frame the picture.  Also, you'll be asked if
  73. you want it in Double Height or not.  As you can see in Figure 1, Double Height
  74. is closest to the original shape when printed on paper.  Some shapes look all
  75. right at normal height and take up less space on the Newsroom Panel.
  76.  
  77.      NEWSROOM IN/OUT
  78.  
  79.      You can now load your converted pictures into the Newsroom Photo Lab or
  80. Copy Desk quite safely.  But I suggest loading the picture into the Photo Lab
  81. and then storing it on a disk formatted by Newsroom.
  82.  
  83.  ****WARNING!  Storing anything on your DOS disk from within the Newsroom
  84. program can be disastrous!
  85.  
  86.      Option 3, using Newsroom Converter to transfer a Newsroom image into
  87. Graphics 8 format, is similar to option 1 except for reversing the order of
  88. source and destination disks.
  89.  
  90.      After you have converted a Newsroom image into Graphics 8, you can change
  91. it into Micro Illustrator or any other standard Atari graphics format with Rapid
  92. Graphics Converter (ANTIC, November 1985).  And then Micro Illustrator or
  93. Micro-Painter files can be converted into Print Shop format with Graphic Shop
  94. ($19.95, The Catalog, AP156).
  95.  
  96.      PROGRAM TAKE-APART
  97.  
  98.      Lines 15-17 contain the headers for the Newsroom file. HDR1$ stands for the
  99. Newsroom header bytes used for Single Height Print Shop icons.  HDR2$ represents
  100. Double Height. HDR3$ is for the Graphics 8 screen (29 bytes wide x 168 bytes
  101. tall).  As near as I can tell, the 14-byte Newsroom header is made up as
  102. follows:
  103.  
  104.      Byte Description
  105.      1-2 255,255 -- found on most binary files.
  106.      3-4 Starting Address (LSB/MSB);  usually $A000 hex.
  107.      5-6 Ending Address (LSB/MSB);  varies with picture size.
  108.      7-8 File Length in Bytes (LSB/MSB).
  109.      9 Top Y coordinate (in this case, 0).
  110.      10 Bottom Y coordinate.
  111.      11 
  112.      Left-most X coordinate plus 8.
  113.      12 Right-most X coordinate plus 8.
  114.      13 0.
  115.      14 255.
  116.      The rest of the Newsroom file is picture data.
  117.  
  118.      Lines 20-90 contain the main menu.  Line 100 ENDs the program and returns
  119. you to BASIC.
  120.      Lines 200-298 convert a Graphics 8 file to Newsroom format.  Lines 300-390
  121. convert a Print Shop icon to Newsroom format.
  122.      Lines 400-600 convert a Newsroom photo into a Graphics 8 file.  I included
  123. this option for Atari 800 owners who would like to use the Newsroom images they
  124. see on bulletin and user group disks.  Although 800 owners can't use Newsroom
  125. software, this option will let them use Newsroom images with other graphics
  126. software.  Rapid Graphics Converter (ANTIC, November 1985) converts your
  127. Graphics 8 file into nearly a dozen other formats.
  128.      Lines 1000-1060 give you a disk directory of Graphics 8 files.  Lines
  129. 2000-2020 contain the subroutine to LOAD or SAVE a Newsroom or Graphics 8 file. 
  130. Lines 3000-3530 contain the subroutine that frames a Graphics 8 picture and
  131. calls a machine language program (ML$) to reverse the colors of that section of
  132. the screen.  This must be done because the picture data in Newsroom files is
  133. inverted.  In other words, a blank section on the screen would be saved as 255,
  134. not 0.  You won't notice any color change onscreen, however, because the color
  135. registers are also reversed.
  136.      Lines 4000-4050 contain the subroutine to read a sector for the Print Shop
  137. DIRECTORY and LOAD operations.  Lines 5000-5050 hold the error-handling
  138. subroutine.
  139.  
  140.      (bio)
  141.      John French of Oklahoma City has been a computer repair technician for 13
  142. years.  He began programming an Atari 800XL in 1983.
  143.      (sidebar)
  144.      WORD PROCESSOR TEXT INTO NEWSROOM
  145.      In the Houston ACE July 1988 newsletter, ANTIC came across this useful
  146. undocumented technique for loading word processor text in Newsroom.
  147.      Write some text with Newsroom in the font of your choice, save it, then
  148. load it into your word processor.  You will see some formatting codes at the top
  149. of the file. Delete the sample text and save those codes as a template file for
  150. your future Newsroom articles.  Just remember that each Newsroom text panel can
  151. only hold 21 lines -- about 800 characters, depending on your font.
  152.